package com.test.study.pojo;

import java.io.Serializable;

/**
 * @ClassName GpRpcResp
 * @Description TODO
 * @Author USER
 * @Date 2019/7/15 20:54
 * @Company
 **/
public class GpRpcResp implements Serializable {

    private int code;
    private String msg;

    public GpRpcResp(String msg) {
        this.code = 200;
        this.msg = msg;
    }

    public GpRpcResp(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
